package com.shop.model;

public class Shop {
	private Integer id;
	private String shopName;
	private double price;
	private Integer number;
	private double sum;
	private String account;
	
	public Shop( String shopName, double price, Integer number, double sum, String account) {
		super();
		this.shopName = shopName;
		this.price = price;
		this.number = number;
		this.sum = sum;
		this.account = account;
	}
	
	public Shop() {}
	
	public Shop(Integer id, String shopName, double price, Integer number, double sum) {
		super();
		this.id = id;
		this.shopName = shopName;
		this.price = price;
		this.number = number;
		this.sum = sum;
	}	
	
	@Override
	public String toString() {
		return "Shop [id=" + id + ", shopName=" + shopName + ", price=" + price + ", number=" + number + ", sum=" + sum
				+ ", account=" + account + "]";
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getShopName() {
		return shopName;
	}
	public void setShopName(String shopName) {
		this.shopName = shopName;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public Integer getNumber() {
		return number;
	}
	public void setNumber(Integer number) {
		this.number = number;
	}
	public double getSum() {
		return sum;
	}
	public void setSum(double sum) {
		this.sum = sum;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
}
